package com.whitema.test4;

import java.util.ArrayList;


public class StudentGJ {
    public static ArrayList<Student> s = new ArrayList<Student>();

    public static void jia(Student a) {
        s.add(a);
    }

    public static void shan(int a) {
        s.remove(a);
    }

    public static void cha() {
        for (Student a : s) {
            System.out.println(a.getName() +  "  "+ a.getAge() +  " " + a.getId());
        }
    }
}
